<?php
/**
 * Author:xsc
 * Time:2023/9/19 14:59
 */

namespace App\Params\Common;

use App\Params\BaseParam;

class MemberParams extends BaseParam
{

    public $mid;

    public $mobile;

    public $page;

    public $page_size;

    public $special_id;

    public $title;

    public function rules()
    {
        return [
            'mid'        => 'string',
            'mobile'     => 'required|string',
            'page'       => 'int',
            'page_size'  => 'int',
            'special_id' => 'int',
            'title'      => 'string',
        ];
    }

    public function message()
    {
        return [
            //"mid.required"    => "商户号不能为空",
            "mobile.required" => "手机号不能为空",
        ];
    }

    public function getMid()
    {
        return $this->mid;
    }

    public function getMobile()
    {
        return $this->mobile;
    }

    public function getPage()
    {
        return $this->page;
    }

    public function getPageSize()
    {
        return $this->page_size;
    }

    public function getSpecialId()
    {
        return $this->special_id;
    }

    public function getTitle()
    {
        return $this->title;
    }

}
